#ifndef THREADMONITOR_H
#define THREADMONITOR_H

#include "Thread.h"
#include "Comunicador.h"
#include "SocketServer.h"
#include "const.h"
#include "ThreadMonitor.h"
#include "MyException.h"
#include "Byte_Tiempo.h"
#include <fstream>
#include <ctime>
#include <dirent.h>
#include <syslog.h>
class ThreadMonitor: public Thread {
private:

	int port;
	SocketServer socket;
public:

	ThreadMonitor(int p);

	~ThreadMonitor();

	virtual void run();

	virtual void stop();
};

#endif
